package com.guoyansoft.model.service;


import com.guoyansoft.config.R;
import com.guoyansoft.model.pojo.Shop;
import org.springframework.stereotype.Service;

import java.util.Map;


public interface ShopService {
    R selectByPageAndTotalsize(Map<String,Object> params);
    R selectById(Integer shopId);

    R selectAll(Map<String,Object> params);
    boolean insert(Shop shop);
    boolean delete(Integer id);
    boolean update(Shop shop);
    Shop selectByName(String name);
}
